fmt.fmtFlags.widPresent (field)
14 uses
fmt (current package)
format.go#L24: widPresent bool
format.go#L94: if !f.widPresent || f.wid == 0 {
format.go#L112: if !f.widPresent || f.wid == 0 {
format.go#L206: if f.widPresent || f.precPresent {
format.go#L229: } else if f.zero && !f.minus && f.widPresent { // Zero padding is allowed only to the left.
format.go#L394: if f.widPresent {
format.go#L400: if f.widPresent && f.wid > width && !f.minus {
format.go#L429: if f.widPresent && f.wid > width && f.minus {
format.go#L584: if f.zero && !f.minus && f.widPresent && f.wid > len(num) {
print.go#L184: func (p *pp) Width() (wid int, ok bool) { return p.fmt.wid, p.fmt.widPresent }
print.go#L1091: p.fmt.wid, p.fmt.widPresent, argNum = intFromArg(a, argNum)
print.go#L1093: if !p.fmt.widPresent {
print.go#L1106: p.fmt.wid, p.fmt.widPresent, i = parsenum(format, i, end)
print.go#L1107: if afterIndex && p.fmt.widPresent { // "%[3]2d"
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)